package com.dream.root.entity;

import io.swagger.annotations.ApiModel;

import javax.persistence.Id;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * @author liulinhui
 * @email 1249055292@qq.com
 * @date 2018-07-28 04:30:40
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
public class ExchangeCoinInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    @Id
    private Integer id;

    @ApiModelProperty(value = "货币名称")
    private String coinName;

    @ApiModelProperty(value = "1:可充值   0：不可充值")
    private Integer rechargeState;

    @ApiModelProperty(value = "提现状态：1：可提现  0：不可提现")
    private Integer withdrawState;

    @ApiModelProperty(value = "每日提现额度")
    private BigDecimal withdrawDayNum;

    @ApiModelProperty(value = "提现手续费")
    private BigDecimal withdrawServiceCharge;

    @ApiModelProperty(value = "提现人工审核数量阈值")
    private Integer withdrawCheckNum;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "货币在coinmarket网站的id")
    private Integer coinmarketid;

    @ApiModelProperty(value = "钱包类型：1-eth，2-btc")
    private Integer walletType;

    @ApiModelProperty(value = "代币合约地址")
    private String contractAddress;

    @ApiModelProperty(value = "订单跳转详情URL前缀")
    private String orderDetailUrl;


}
